Part Number Hot Search : 
LVCH16 USB22 MB7131 1N474 15KPA 170BRM 1SV30907 SK5819
Product Description
Full Text Search
 

To Download HSP50110 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  3-1 tm file number 3651.5 caution: these devices are sensitive to electrostatic discharge; follow proper ic handling procedures. 1-888-intersil or 321-724-7143 | intersil and design is a trademark of intersil corporation. | copyright intersil corporation 2000 HSP50110 digital quadrature tuner the digital quadrature tuner (dqt) provides many of the functions required for digital demodulation. these functions include carrier lo generation and mixing, baseband sampling, programmable bandwidth ?tering, baseband agc, and if agc error detection. serial control inputs are provided which can be used to interface with external symbol and carrier tracking loops. these elements make the dqt ideal for demodulator applications with multiple operational modes or data rates. the dqt may be used with hsp50210 digital costas loop to function as a demodulator for bpsk, qpsk, 8-psk oqpsk, fsk, fm, and am signals. the dqt processes a real or complex input digitized at rates up to 52 msps. the channel of interest is shifted to dc by a complex multiplication with the internal lo. the quadrature lo is generated by a numerically controlled oscillator (nco) with a tuning resolution of 0.012hz at a 52mhz sample rate. the output of the complex multiplier is gain corrected and fed into identical low pass fir ?ters. each ?ter is comprised of a decimating low pass ?ter followed by an optional compensation ?ter. the decimating low pass ?ter is a 3 stage cascaded-integrator-comb (cic) ?ter. the cic ?ter can be con?ured as an integrate and dump ?ter or a third order cic ?ter with a (sin(x)/x) 3 response. compensation ?ters are provided to ?tten the (sin(x)/x) n response of the cic. if none of the ?tering options are desired, they may be bypassed. the ?ter bandwidth is set by the decimation rate of the cic ?ter. the decimation rate may be ?ed or adjusted dynamically by a symbol tracking loop to synchronize the output samples to symbol boundaries. the decimation rate may range from 1-4096. an internal agc loop is provided to maintain the output magnitude at a desired level. also, an input level detector can be used to supply error signal for an external if agc loop closed around the a/d. the dqt output is provided in either serial or parallel formats to support interfacing with a variety dsp processors or digital filter components. this device is configurable over a general purpose 8-bit parallel bidirectional microprocessor control bus. features input sample rates to 52 msps internal agc loop for output level stability parallel or serial output data formats 10-bit real or complex inputs bidirectional 8-bit microprocessor interface frequency selectivity <0.013hz low pass filter con?urable as three stage cascaded- integrator-comb (cic), integrate and dump, or bypass fixed decimation from 1-4096, or adjusted by nco synchronization with baseband waveforms input level detection for external if agc loop designed to operate with hsp50210 digital costas loop 84 lead plcc applications satellite receivers and modems complex upconversion/modulation tuner for digital demodulators digital plls related products: hsp50210 digital costas loop; a/d products hi5703, hi5746, hi5766 HSP50110/210eval digital demod evaluation board block diagram ordering information part number temp. range ( o c) package pkg. no. HSP50110jc-52 0 to 70 84 ld plcc n84.1.15 HSP50110ji-52 -40 to 85 84 ld plcc n84.1.15 level detect nco re-sampling 0 o 90 o low pass fir filter dump interface programmable control i data q data carrier sample rate tracking control control control/status 10 10 sample strobe loop filter gca 10 10 real or complex input data if agc control 8 bus nco gca low pass fir filter level detect complex multiplier data sheet may 2000
3-2 pinout HSP50110 (plcc) top view pin description name type description v cc - +5v power supply. gnd - ground. iin9-0 i in-phase input. data input for in-phase (real) samples. format may be either twos complement or offset binary format (see i/o formatting/control register in table 9). iin9 is the msb. qin9-0 i quadrature input. data input for quadrature (imaginary) samples. format may be either twos complement or offset bi- nary format (see i/o formatting/control register in table 9). qin9 is the msb. eni i input enable. when eni is active ?ow? data on iin9-0 and qin9-0 is clocked into the processing pipeline by the rising edge of clk. this input also controls the internal data processing as described in the input controller section of the data sheet. eni is active ?ow? ph1-0 i carrier phase offset. the phase of the internally generated carrier frequency may be shifted by 0, 90, 180, or 270 de- grees by controlling these pins (see synthesizer/mixer section). the phase mapping for these inputs is given in table 1. cfld i carrier frequency load. this input loads the carrier frequency register in the synthesizer nco (see synthesizer/mixer section). when this input is sampled ?igh by clock, the contents of the microprocessor interface holding registers are transferred to the carrier frequency register in the synthesizer nco (see microprocessor inter- face section). note: this pin must be ?ow when loading other con?uration data via the microprocessor in- terface. active high input. cof i carrier offset frequency input. this serial input is used to load the carrier offset frequency into the synthesizer nco (see serial interface section). the new offset frequency is shifted in msb ?st by clk starting with the clock cycle after the assertion of cofsync. cofsync i carrier offset frequency sync. this signal is asserted one clk cycle before the msb of the offset frequency data word (see serial interface section). 111098765432184838281807978777675 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 iout4 iout5 iout6 gnd iout7 iout8 iout9 oei lotp sph0 sph1 sph2 sph3 v cc sph4 sstrb hi/lo iin9 iin8 iin7 iin6 gnd sofsync sof cofsync cof c0 c1 v cc c2 c3 c4 c5 c6 c7 a0 a1 gnd a2 rd wr cfld iin5 iin4 iin3 iin2 gnd iin1 iin0 eni qin9 qin8 qin7 qin6 qin5 qin4 v cc qin3 qin2 qin1 qin0 ph1 ph0 iout1 iout3 iout2 iout0 datardy v cc clk gnd qout9 qout8 qout7 qout6 qout5 gnd qout4 qout2 qout1 qout0 oeq v cc qout3 HSP50110
3-3 sof i sampler offset frequency. this serial input is used to load the sampler offset frequency into the re-sampler nco (see serial interface section). the new offset frequency is shifted in msb ?st by clk starting with the clock cycle after assertion of sofsync. sofsync i sampler offset frequency sync. this signal is asserted one clk cycle before the msb of sampler offset frequency data word (see serial interface section). a2-0 i address bus. these inputs specify a target register within the microprocessor interface (see table 5). a2 is the msb. this input is setup and held to the rising edge of wr. c7-0 i/0 control bus. this is the bidirectional data bus for reads and writes to the microprocessor interface (see microprocessor interface section). c7 is the msb. wr i write. this is the write strobe for the microprocessor interface (see microprocessor interface section). rd i read. this is the read enable for the microprocessor interface (see microprocessor interface section). iout9-0 o in-phase output. the data on these pins is output synchronous to clk. new data on iout9-0 is indicated by the as- sertion of the datardy pin. data may be output parallel or serial mode (see output formatter section). in the parallel mode, iout9 is the msb. when the serial mode is used, iout0 is data, and iout9 is the serial clock. other pins not used in serial mode may be set high or low via the control interface. qout9-0 o quadrature output. the data on these pins is output synchronous to clk. new data on the qout(9-0) pins is indicated by the datardy pin. data may be output parallel or serial mode. in the parallel mode, iout9 is the msb. when the serial mode is used, qout0 is data. datardy o data ready. this output is asserted on the ?st clock cycle that new data is available on the iout and qout data busses (see output formatter section). this pin may be active ?igh or ?ow depending on the con?uration of the i/o formatting/control register (see table 9). in serial mode, datardy is asserted one iq clock before for ?st bit of serial data. oei i in-phase output enable. this pin is the three-state control for iout9-0. when oei is ?igh? the iout bus is held in the high impedance state. oeq i quadrature output enable. this pin is the three-state control for qout9-0. when oeq is ?igh? the qout bus is held in the high impedance state. lotp 0 local oscillator test point. this output is the msb of the synthesizer nco phase accumulator (see synthesizer/mixer section). this is provided as a test point for monitoring the frequency of the synthesizer nco. sstrb 0 sample strobe. this is the bit rate strobe for the bit rate nco. sstrb has two modes of operation: continuous update and sampled. in continuous update mode, this is the carry output of the re-sampler nco. in sampled mode, sstrb is active synchronous to the datardy signal for parallel output mode. the sampled mode is provided to signal the nearest output sample aligned with or following the symbol boundary. this signal can be used with sph(4-0) below to control a resampling ?ter to time shift its impulse response to align with the symbol boundaries. sph4-0 0 sample phase. these are ?e of the most signi?ant 8 bits of the re-sampler nco phase accumulator. which ?e bits of the eight is selected via the chip con?uration register (see table 11). these pins update continuously when the sstrb output is in the continuous update mode. when the sstrb pin is in the sampled mode, sph4-0 update only when the sstrb pin is asserted. in the sampled mode, these pins indicate how far the bit phase has advanced past the symbol boundary when the output sample updates. sph4 is the msb. hi/lo 0 hi/lo. the output of the input level detector is provided on this pin (see input level detector section). the sense of the hi/lo pin is set via the chip con?uration register (see table 11). this signal can be externally averaged and used to control the gain of an ampli?r to close an agc loop around the a/d converter. this type of agc sets the level based on the median value on the input. clk i clock. all i/os with the exception of the output enables and the microprocessor interface are synchronous to clock. pin description (continued) name type description HSP50110
3-4 functional description the digital quadrature tuner (dqt) provides many of the functions needed for digital demodulation including: carrier lo generation, mixing, low-pass ?tering, baseband sampling, baseband agc, and if agc error detection. a block diagram of the dqt is provided in figure 1. the dqt processes a real or complex input at rates up to 52 msps. the digitized if is input to the synthesizer/mixer where it is multiplied by a quadrature lo of user programmable frequency. this operation tunes the channel of interest to dc where it is extracted by the low pass fir filtering section. the ?ter bandwidth is set through a user programmable decimation factor. the decimation factor is set by the re- sampler which controls the baseband sampling rate. the baseband sample rate can be adjusted by an external symbol tracking loop via a serial interface. similarly, a serial interface is provided which allows the frequency of the synthesizer/mixers nco to be controlled by an external carrier tracking loop. the serial interfaces were designed to mate with the output of loop ?ters on the hsp50210 digital costas loop. the dqt provides an input level detector and an internal agc to help maintain the input and output signal magnitudes at user speci?d levels. the input level detector compares the input signal magnitude to a programmable level and generates an error signal. the error signal can be externally averaged to set the gain of an ampli?r in front of the a/d which closes the agc loop. the output signal level is maintained by an internal agc loop closed around the low pass filtering. the agc loop gain and gain limits are programmable. input controller the input controller sets the input sample rate of the processing elements. the controller has two operational modes which include a gated input mode for processing sample rates slower than clk, and an interpolated input mode for increasing the effective time resolution of the samples. the mode is selected by setting bit 1 of the i/o formatting control register in table 9. in gated input mode, the input enable ( eni) controls the data ?w into the input pipeline and the processing of the internal elements. when this input is sampled ?ow?by clk, the data on iin0-9 and qin0-9 is clocked into the processing pipeline; when eni is sampled ?igh? the data inputs are disabled. the input enable is pipelined to the internal processing elements so that they are enabled once for each time eni is sampled low. this mode minimizes the complex multiplier level detect f o r m a t level detect loop filter re-sampler synthesizer shift reg microprocessor interface cos sin iin0-9 qin0-9 hi/lo ph0-1 cof sof cfld cofsync sofsync wr rd c0-7 10 10 center phase 32 8 sampler center 32 agc threshold ? threshold for lower limit ? upper limit ? loop gain ? 10 10 12 12 11 11 10 10 iout0-9 qout0-9 decimating compensation filter filter ? indicates data downloaded via microprocessor interface sstrb sph0-4 5 input controller eni synthesizer/mixer shift reg re-sampler divider low pass filtering agc external agc ? nco nco frequency ? frequency ? oei datardy oeq clk clk a0-2 figure 1. functional block diagram of HSP50110 lotp hi/lo output sense ? input mode ? input format ? cof en ? word width ? sof en ? word width ? offset ? HSP50110
3-5 processing pipeline latency, and the latency of the parts serial interfaces while conserving power. note: the effective input sample rate to the internal processing elements is equal to the frequency with which eni is asserted ?ow? in interpolated input mode, the eni input is used to insert zeroes between the input data samples. this process increases the input sample rate to the processing elements which improves the time resolution of the processing chain. when eni is sampled ?igh?by clk, a zero is input into the processing pipeline. when eni is sampled ?ow?the input data is fed into the pipeline. note: due to the nature of the rate change operation, consideration must be given to the scaling and interpolation ?tering required for a particular rate change factor. in either the gated or interpolated input mode, the synthesizer nco is gated by the eni input. this only allows clocking of the nco when external samples are input to the processing pipeline. as a result, the nco frequency must be set relative to the input sample rate, not the clk rate (see synthesizer/mixer section). note: only ?ed interpolation rates should be used when operating the part in interpolated mode at the input controller. input level detector the input level detector generates a one-bit error signal for an external if agc ?ter and amp. the error signal is generated by comparing the magnitude of the input samples to a user programmable threshold. the hi/lo pin is then driven ?igh?or ?ow?depending the relationship of its magnitude to the threshold. the sense of the hi/lo pin is programmable so that a magnitude exceeding the threshold can either be represented as a ?igh?or ?ow?logic state. the threshold and the sense of the hi/lo pin are con?ured by loading the appropriate control registers via the microprocessor interface (see tables 7 and 11). the high/low outputs can be integrated by an external loop ?ter to close an agc loop. using this method the gain of the loop forces the median magnitude of the input samples to the threshold. when the magnitude of half the samples are above the threshold and half are below, the error signal is integrated to zero by the loop ?ter. the algorithm for determining the magnitude of the complex input is given by: mag(i,q) = |i| + .375 x |q| if |i| > |q| (eq. 1) or: mag(i,q) = |q| + .375 x |i| if |q| > |i|, (eq. 2) using this algorithm, the magnitude of complex inputs can be estimated with an error of <0.55db or approximately 6.5%. for real inputs, the magnitude detector reduces to a an absolute value detector with negligible error. note: an external agc loop using the input level detector may go unstable for a real sine wave input whose frequency is exactly one quarter of the sample rate (f s /4). the level detector responds to such an input by producing a square wave output with a 50% duty cycle for a wide range of thresholds. this square wave integrates to zero, indicating no error for a range of input signal amplitudes. synthesizer/mixer the synthesizer/mixer spectrally shifts the input signal of interest to dc for subsequent baseband ?tering. this function is performed by using a complex multiplier to multiply the input with the output of a quadrature numerically controlled oscillator (nco). the multiplier operation is: i out = i in x cos ( c ) - q in x sin ( c ) (eq. 3) q out = i in x sin ( c ) + q in x cos ( c ) (eq. 4) the complex multiplier output is rounded to 12 bits. for real inputs this operation is similar to that performed by a quadrature downconverter. for complex inputs, the synthesizer/mixer functions as a single-sideband or image reject mixer which shifts the frequency of the complex samples without generating images. the quadrature outputs of the nco are generated by driving a sine/cosine lookup table with the output of a phase accumulator as shown in figure 2. each time the phase accumulator is clocked, its sum is incremented by the sum of shift reg sync reg sync cfld cof cofsync sin/cos rom reg reg to complex multiplier sin cos ph0-1 lotp carrier frequency ? load carrier frequency ? phase offset ? 32 32 8 2 10 10 mux 0 cof mux 0 load ? phase accumulator cf cof enable ? r e g reg + reg + reg r e g r e g controlled via microprocessor interface. ? figure 2. synthesizer nco 11 HSP50110
3-6 the contents of the carrier frequency (cf) register and the carrier offset frequency (cof) register. as the accumulator sum transitions from 0 to 2 32 , the sin/cos rom produces quadrature outputs whose phase advances from 0 o to 360 o . the sum of the cf and cof registers represent a phase increment which determines the frequency of the quadrature outputs. large phase increments take fewer clocks to transition through the sine wave cycle which results in a higher frequency nco output. the nco frequency is set by loading the cf and cof registers. the contents of these registers set the nco frequency as given by the following, f c = f s x (cf + cof)/2 32 , (eq. 5) where f s is the sample rate set by the input controller, cf is the 32-bit twos complement value loaded into the carrier frequency register, and cof is the 32-bit twos complement value loaded into the carrier offset frequency register. this can be rewritten to have the programmed cf and cof value on the left: as an example, if the cf register is loaded with a value of 3000 0000 (hex), the cof register is loaded with a value of 1000 0000 (hex), and the input sample rate is 40 msps, an the nco would produce quadrature terms with a frequency of 10mhz. when the sum of cf and cof is a negative value, the cos/sin vector generated by the nco rotates clockwise which downconverts the upper sideband; when the sum is positive, the cos/sin vector rotates counterclockwise which upconverts the lower sideband. note: the input sample rate f s is determined by the rate at which eni is asserted low (see input controller section). if eni is tied low, the input sample rate is equal to the clk rate. the carrier frequency register is loaded via the microprocessor interface and the carrier offset frequency is loaded serially using the cof and cofsync inputs. the procedure for loading these registers is discussed in the microprocessor interface section and the serial input section. the phase of the ncos quadrature outputs can be adjusted by adding an offset value to the output of the phase accumulator as shown in figure 2. the offset value can be loaded into the phase offset (po) register or input via the ph0-1 inputs. if the po register is used, the phase can be adjusted from - to with a resolution of ~1.4 o . the phase offset is given by the following equation, = x (po/128), (eq. 6) where po is the 8-bit twos complement value loaded into the phase offset register (see phase offset register in table 12). as an example, a value of 32, (20 hex ), loaded into the phase offset register would produce a phase offset of 45 o . an alternative method for controlling the nco phase uses the ph0-1 inputs to shift the phase of ncos output by 0 o , 90 o , 180 o , or 270 o . the ph0-1 inputs are mapped to phase shifts as shown in table 1. the phase may be updated every clock supporting the /2 phase shifts required for modulation or despreading of cdma signals. the output of the complex multiplier is scaled by 2 -36 . see ?etting dqt gains?below. agc the level of the mixer output is gain adjusted by an agc closed around the low pass filtering. the agc provides the coarse gain correction necessary to help maintain the output of the HSP50110 at a signal level which maintains an acceptable dynamic range. the agc consists of a level detector which generates an error signal, a loop gain multiplier which ampli?s the error, and a loop filter which integrates the error to produce gain correction (see figure 4). the level detector generates an error signal by comparing the magnitude of the dqt output against a user programmable threshold (see agc control register in table 8). in the normal mode of operation, the level detector outputs a -1 for magnitudes above the threshold and +1 for those below the threshold. the 1 outputs are then multiplied by a programmable loop gain to generate the error signal integrated by the loop filter. the level detector uses the magnitude estimation algorithm described in the input level detector section. the sense of the level detector output may be changed via the chip configuration register, bit 0 (see table 11). the loop filter consists of a multiplier, an accumulator and a programmable limiter. the multiplier computes the product of the output of the level detector and the programmable loop gain. the accumulator integrates this product to produce the agc gain, and the limiter keeps the gain between preset limits (see agc control register, table 8). the output of the agc loop filter accumulator can be read via the microprocessor interface to estimate signal strength (see microprocessor interface section). the loop filter accumulator uses a pseudo ?ating point format to provide up to ~48db of gain correction. the format (cf + cof) = int f c /f s () 2 32 [] hex (eq. 5a) table 1. ph0-1 input phase mapping ph1-0 phase shift 00 0 o 01 90 o 10 270 o 11 180 o HSP50110
3-7 of the accumulator output is shown in figure 3. the agc gain is given by: gain agc = (1.0 + m) x 2 e (eq. 7) where m is the 4-bit mantissa value ranging from 0.0 to 0.9375, and e is the three bit exponent ranging from 0 to 7. the result is a piece wise linear transfer function whose overall response is logarithmic, as shown in figure 5. the exponent bits provide a coarse gain setting of 2 (eee) . this corresponds to a gain range from 0db to 42db (2 0 to 2 7 ) with the msb representing a 24db gain, the next bit a 12db gain, and the ?al bit a 6db gain. the four mantissa bits map to an additional gain of 1.0 to 1.9375 (0 to ~6db). together, the exponent and the mantissa portion of the limit set a gain range from 0 to ~48db. the limiter restricts the agc gain range by keeping the accumulator output between the programmed limits. if the accumulator exceeds the upper or lower limit, then the accumulator is held to that limit. the limits are programmed via eight bit words which express the values of the upper and lower limits as eight bit pseudo ?ating point numbers as shown in figure 3 (see agc control register, table 8). the format for the limits is the same as the format of the eight most signi?ant bits of the loop filter accumulator. examples of how to set the limits for a speci? output signal level are provided in the ?etting dqt gains section below. note: a ?ed agc gain may be set by programming the upper and lower limits to the same value. the response time of the agc is determined by the programmable loop gain. the loop gain is an unsigned 8-bit value whose signi?ance relative to the agc gain is shown in figure 3. the loop gain is added or subtracted from the accumulator depending on the output of the level detector. the accumulator is updated at the output sample rate. if the accumulator exceeds the upper or lower limit, the accumulator is loaded with that limit. the slew rate of the agc ranges between ~0.001db and 0.266db per output sample for loop gains between 01(hex) and ff (hex) respectively. the user should exercise care when using maximum loop gain when the (x/sin(x)) or the (x/sin(x)) 3 compensation filter is enabled. at high decimation rates, the delay through the compensation filter may be large enough to induce oscillations in the agc loop. the basic architectural configurations section contains the necessary detailed block diagrams to determine the loop delay for different matched filter configurations. low pass filtering the gain corrected signal feeds a low pass filtering section comprised of a cascaded integrator comb (cic) and compensation ?ter. the ?tering section extracts the channel of interest while providing decimation to match the output sample rate to the channel bandwidth. a variety of ?tering con?urations are possible which include integrate and dump, integrate and dump with x/sin(x) compensation, third order cic, and third order cic with ((x)/sin(x))3 compensation. if none of these ?tering options are desired, the entire ?tering section may be bypassed. 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 2 -8 2 -9 2 -10 2 -11 2 -12 2 -13 exponent mantissa programmable 0.0 to 0.9375 maps to p agc maps to agc upper and lower limits 2 2 2 1 2 0 em l ee m mmxgggggggg lllllll . loop gain 0 to 7 figure 3. binary format for loop filter accumulator loop filter accumulator parameter this value can be read by the microprocessor. see the microprocessor interface section. agc threshold ? level programmable upper gain limit ? lower gain limit ? agc loop filter i data q data detector loop gain ? agc gain reg + reg limit ? indicates data downloaded via microprocessor interface. figure 4. agc block diagram agc l.d. sense ? agc disable ? gain (linear) gain (db) gain control word (8 msbs of loop filter accumulator) db linear 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 0 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 0 48 42 36 30 24 18 12 6 0 figure 5. gain control transfer function HSP50110
3-8 the integrate and dump ?ter exhibits a frequency response given by where f is normalized frequency relative to the input sample rate, f s , and r is the decimation rate [1]. the decimation rate is equivalent to the number of samples in the integration period. as an example, the frequency response for an integrate and dump ?ter with decimation of 64 is shown in figure 6. the decimation rate is controlled by the re-sampler and may range in value from 2 to 4096 (see re-sampler section). for applications requiring better out of band attenuation, the third order cic ?ter may be selected. this ?ter has a frequency response given by h(f) = [sin( fr)/sin( f)] 3 [1/r] 3 (eq. 9) where f is normalized frequency relative to the input sample rate, and r is the decimation rate [1]. as with the integrate and dump ?ter, the decimation rate is controlled by the re- sampler. the decimation rate may range in value from 2-4096 when using clk, or 3-4096 when using the re- sampler nco as a clk source to the ?ter. the frequency response for the third order cic with a decimation rate of 64 is shown in figure 7. compensation filters may be activated to flatten the frequency responses of the integrate and dump and third order cic filters. the compensation filters operate at the decimated data rate, and flatten the roll off the decimating filters from dc to approximately one half of the output sample rate. together, the integrate and dump filter and x/sin(x) compensation filter typically yield a lowpass frequency response that is flat to 0.45f s with 0.03db of ripple, and the third order cic with ((x)/sin(x)) 3 compensation typically yields a flat passband to 0.45f s with 0.08db of ripple. the overall passband ripple degrades slightly for decimation rates of less than 10. some examples of compensation filter performance for the integrate and dump and third order cic filter are shown overlaid on the frequency responses of the uncompensated filters in figure 6 and figure 7. the coefficients for the compensation filters are given in table 2. the out of band channels and noise attenuated by the decimating ?ters are aliased into the output spectrum as a result of the decimating process. a summation of the alias terms at each frequency of the output spectrum produce alias pro?es which can be used to determine the usable output bandwidth. a set of pro?es representative of what would be observed for decimation factors of ~10 or more are shown in figures 8 through 11. the integrate and dump ?ter is typically used as a matched ?ter for square pulses hf () i r --- - fr () /sin( f ) sin = (eq. 8) sample times magnitude (db) 10 note: example plotted is for r = 64 with 64 samples/symbol. figure 6. integrate and dump filter (first order cic) frequency response 0 -10 -20 -30 -40 -50 -60 compensation filter composite filter cic filter f s 2r f s r 3f s 2r 2f s r 5f s 2r 3f s r 7f s 2r 4f s r table 2. compensation filter coefficients coefficient index x/sin(x) [2] [x/sin(x)] 3 0-1-1 124 2 -4 -16 31032 4 -34 -64 5 384 136 6 -34 -352 7 10 1312 8 -4 -352 9 2 136 10 -1 -64 11 32 12 -16 13 4 14 -1 sample times magnitude (db) 10 note: example plotted is for r = 64 with 64 samples/symbol. figure 7. third order cic frequency response 0 -10 -20 -30 -40 -50 -60 compensation filter cic filter composite filter f s 2r f s r 3f s 2r 2f s r 5f s 2r 3f s r 7f s 2r 4f s r HSP50110
3-9 and less as a high order decimating ?ter. this is evident by the narrow alias free part of the output bandwidth as shown in figures 8 and 9. the more rapid roll off of the third order cic produces an output spectrum containing a much higher usable bandwidth versus output sample rate as shown in figures 10 and 11. for example, the aliasing noise at f s /4 for the uncompensated third order cic ?ter is approximately ~29db below the full scale input. understanding the alias pro?e for digital ?ters that utilize decimation techniques to reduce the rate of the digital processing, care must be taken to understand the rami?ations, in the frequency domain, of decimation (rate reduction). of primary concern is the ?oise level increase due to signals that may be aliased inside the band of interest. the potential magnitude of these signals may render signi?ant portions of the previously thought usable bandwidth, unusable for applications that require signi?ant (>60db) attenuation of undesired signals. consider a digital ?ter with sampling frequency fs, whose frequency response shown in figure 12a, the top spectrum. at ?st glance the usable bandwidth would appear to be the 3db bandwidth of the main lobe. this ?ter is to be decimated to a rate of 1/8 f s . we concern ourselves with those elements less than f s /2, as shown in figure 12b. the decimation process will fold the various lobes of the frequency response around the new sampling folding frequency of f s /2r. the first lobe is folded over the dotted line and a significant portion of the first lobe appears in the passband of the filter. any unwanted signals in this part of the spectrum will appear in the band of interest with the greatest amplitude. the second lobe is translated down to be centered on the dashed line. the third lobe is spectrally inverted and translated to be centered on the dotted line. the fourth lobe is simply translated to be centered on the dotted line. if there were more lobes to the filter, the process would continue to spectrally invert the odd numbered lobes prior to translation to f s /2r. this process is shown in the ??portion of figure 12. figure 8. alias profile: integrate/dump filter, no compensation figure 9. alias profile: integrate/dump filter with compensation figure 10. alias profile: 3rd order cic, no compensation figure 11. alias profile: 3rd order cic with compensation sample times magnitude (db) 10 0 -20 -30 -40 -60 0 -50 -10 filter response alias profile f s 16r f s 8r 3f s 16r f s 4r 5f s 16r 3f s 8r 7f s 16r f s 2r (example plotted is for r = 64 with 64 samples/symbol) sample times magnitude (db) 10 0 -20 -30 -40 -60 0 -50 -10 f s 16r f s 8r 3f s 16r f s 4r 5f s 16r 3f s 8r 7f s 16r f s 2r (example plotted is for r = 64 with 64 samples/symbol) alias profile filter response sample times magnitude (db) 10 0 -20 -30 -40 -60 0 -50 -10 f s 16r f s 8r 3f s 16r f s 4r 5f s 16r 3f s 8r 7f s 16r f s 2r (example plotted is for r = 64 with 64 samples/symbol) filter response alias profile sample times magnitude (db) 10 0 -20 -30 -40 -60 0 -50 -10 f s 16r f s 8r 3f s 16r f s 4r 5f s 16r 3f s 8r 7f s 16r f s 2r (example plotted is for r = 64 with 64 samples/symbol) filter response alias profile HSP50110
3-10 to create the alias pro?e, a composite response, the components of which are shown in the ??portion of figure 12, is made from the sum of all the alias elements. the primary use of an alias pro?e is used to determine what bandwidth yields the desired suppression of unwanted signals for a particular application. reviewing figures 9 through 11, note the following observations: 1. the uncompensated i&d (1st order cic) ?ter yields about 12db of alias suppression at f s /16r. this usable bandwidth is considerably narrower than the 3db ?ter bandwidth. the i&d ?ter is the matched ?ter for square wave data that has not been bandlimited. 2. the compensated i&d ?ter offers a ?tter, wider band- width than just the i&d alone. this ?ter compensates for the frequency roll off due to the a/d converter. 3. the uncompensated 3rd order cic ?ter yields over 60db of alias suppression at f s /16r. typical application is found in tuners, where the dqt is followed by a very nar- row band ?ter. 4. the 3rd order cic with compensation yields alias sup- pression comparable to the 3rd order cic, but with the ?tter, wider passband. this ?ter is selected for most satcom applications. which ?ter is selected, is dependent on the application. it is important to utilize these alias responses in calculating the ?ter to be used, so that the signal suppression prediction will accurately re?ct the digital ?ter performance. noise equivalent bandwidth the noise equivalent bandwidth (b n ) performance of the channel ?ter is dependent on the combination of decimation filter and compensation filter chosen. for con?urations using the integrate and dump ?ter, b n is constant regardless of decimation rate. however, for con?urations which use the third order cic ?ter, b n converges to a constant for decimation factors of over ~50. a summary of equivalent if b n s for different ?ter con?urations and decimation rates is given in table 3. these noise bandwidths are provided so that output snr can be calculated from input snr. in detection applications this bandwidth indicates the detection bandwidth. re-sampler the re-sampler sets the output sample rate by controlling the sample rate of the decimation ?ters (see low pass filter section). the output sample rate may be ?ed or adjusted dynamically to synchronize with baseband waveforms. the reduction in sample rate between the low pass filter input and output represents the decimation factor. the decimating filter output is sampled by the programmable divider shown in figure 13. the divider is a counter which is decremented each time it is clocked. when the divider reaches its terminal count, the output of the decimating filter is sampled. the divider may be programmed with a divisor of from 1 to 4096 (see table 10 decimating filter configuration register). one of two internal clock sources are chosen for the divider based on whether a ?ed or adjustable sample rate is desired. for ?ed output sample rates, a clock equal to the input sample rate is selected (see decimating filter con?uration table 10). for adjustable output sample rates, a clock generated by the carry out from the re-sampler nco is chosen. figure 12. f s 2r f s f s 2 a b c d table 3. double sided noise equivalent bandwidth for different filter configurations and output sample rates dec integrate/ dump integrate/ dump w/ x/sin(x) 3rd order cic 3rd order cic w/ [x/sin(x)] 3 2 1.0000 1.3775 0.6250 1.3937 10 1.0000 1.3775 0.5525 1.0785 18 1.0000 1.3775 0.5508 1.0714 26 1.0000 1.3775 0.5504 1.0698 34 1.0000 1.3775 0.5502 1.0691 42 1.0000 1.3775 0.5501 1.0688 50 1.0000 1.3775 0.5501 1.0687 58 1.0000 1.3775 0.5501 1.0686 66 1.0000 1.3775 0.5501 1.0685 74 1.0000 1.3775 0.5500 1.0684 82 1.0000 1.3775 0.5500 1.0684 90 1.0000 1.3775 0.5500 1.0684 98 1.0000 1.3775 0.5500 1.0684 106 1.0000 1.3775 0.5500 1.0684 114 1.0000 1.3775 0.5500 1.0683 122- 4096 1.0000 1.3775 0.5500 1.0683 HSP50110
3-11 the calculation of the decimation factor depends on whether the output sample rate is fixed or adjusted dynamically. for a fixed sample rate, the decimation factor is equal to the divisor loaded into the programmable divider. for example, if the divider is configured with a divisor of 8, the decimation factor is 8 (i.e., the output data rate is f s /8). if the decimation factor is adjusted dynamically, it is a function of both the programmable divisor and the frequency of carry outs from the re-sampler nco (f co ) as given by: decimation factor = (programmable divisor) x f s /f co (eq. 10) for example, if the programmable divisor is 8 and f s /f co = 40, the decimation factor would be 320. note: the cic ?ter architecture only supports decimation factors up to 4096. the phase accumulator in the re-sampler nco generates the carry outs used to clock the programmable divider. the frequency at which carry outs are generated (f co ) is determined by the values loaded into the sampler center frequency (scf) and sampler offset frequency (sof) registers. the relationship between the values loaded into these registers and the frequency of the carry outs is given by: f co = f s x (scf + sof)/2 32 (eq. 11) where f s is the input sample rate of the low pass filter section, scf is the 32-bit value loaded into the sampler center frequency register, and sof is the 32-bit value loaded into the sample offset frequency register. the scf register is loaded through the microprocessor interface (see microprocessor interface section), and the sof register is loaded serially via the sof and sofsync inputs (see serial input section). the sample rate f s is a function of the input controller mode. if the controller is in gated input mode, f s is the frequency with which eni is asserted. in interpolated input mode, f s is the clk frequency (see input controller section). the carry out and 5 of the most signi?ant 8 bits of the ncos phase accumulator are output to control a resampling ?ter such as the hsp43168. the resampling ?ter can be used to provide ?er time (symbol phase) resolution than can be achieved by the sampling clock alone. this may be needed to improve transmit/receive timing or better, align a matched ?ters impulse response with the symbol boundaries of a baseband waveform at high symbol rates. the carry out of the ncos phase accumulator is output on sstrb, and a window of 5 of the 8 most signi?ant 8 bits of the phase accumulator are output on sph0-4. output formatter the output formatter supports either word parallel or bit serial output modes. the output can be chosen to have a twos complement or offset binary format. the con?uration is selected by loading the i/o formatting/control register (see table 9). in parallel output mode, the in-phase and quadrature samples are output simultaneously at rates up to the maximum clk. the datardy output is asserted on the ?st clk cycle that new data is available on iout0-9 and qout0-9 as shown in figure 14. output enables ( oei, oeq) are provided to individually three-state iout0-9 and qout0-9 for output multiplexing. when bit serial output is chosen, two serial output modes are provided, simultaneous i/q mode and i followed by q mode. in simultaneous i/q mode, the 10-bit i and q samples are output simultaneously on iout0 and qout0 as shown in figure 15. in i followed by q mode, both samples are output on iout0 with i samples followed by q samples as shown in figure 16. in this mode, the i and q samples are packed into separate 16-bit serial words (10 data bits + 6 zero bits). the 10 data bits are the 10 msbs of the serial word, and the i sample is differentiated from the q sample by a 1 in the lsb position of the 16-bit data word. a continuous serial output clock is provided on iout9 which is derived by dividing the shift reg reg sof sofsync 32 32 0 sof enable ? 0 load sampler center frequency ? 32-bit adder carry output sph0-4 shifter 5 32 mode ? sstrb load sof scf re-sampler programmable divider to decimating filters nco reg reg reg reg mux sync sync mux + ? controlled via microprocessor interface. figure 13. re-sampler mux clk sample phase out control ? sync datardy 8 nco ? resampler on cf write clk datardy iout9-0/ qout9-0 note: datardy may be programmed active high or low. figure 14. parallel output timing HSP50110
3-12 clk by a programmable factor of 2, 4, or 8. when the programmable clock factor is 1, iout9 is pulled high, and the clk signal should be used as the clock. the beginning of a serial data word is signaled by the assertion of datardy one serial clock before the first bit of the output word. in i followed by q mode, datardy is asserted prior to each 16-bit data word. for added flexibility, the formatter may be configured to output the data words in either msb or lsb first format . gain distribution the gain distribution in the dqt is shown in figure 17. these gains consist of a combination of fixed, programmable, and adaptive gains. the fixed gains are introduced by processing elements like the synthesizer/mixer and cic filter. the programmable and adaptive gains are set to compensate for the fixed gains as well as variations in input signal strength. the bit range of the data path between processing elements is shown in figure 17. the quadrature inputs to the data path are 10-bit fractional twos complement numbers. they are multiplied by a 10-bit quadrature sinusoid and rounded to 12-bits in the synthesizer/mixer. the i and q legs are then scaled by a fixed gain of 2 -36 to compensate for the worst case gain of the cic filter. next, a gain block with an adaptive and programmable component is used to set the output signal level within the desired range of the 10-bit output (see setting dqt gains section). the adaptive component is produced by the agc and has a gain range from 1.0 to 1.9375*2 7 . the programmable component sets the gain range of the cic shifter which may range from 2 0 to 2 63 . care must be taken when setting the agc gain limits and the cic shifter gain since the sum of these gains could shift the cic scaler output beyond the bit range (-2 8 to 2 -46 ) of the cic filter input. the cic filter introduces a gain factor given by r n where r is the decimation rate of the filter and n is the cic order. the cic order is either 1 (integrate and dump filter) or 3. depending on configuration, the cic filter introduces a gain factor from 2 0 to 2 36 . the output of the cic filter is then rounded and limited to an 11-bit window between bit positions 2 1 to 2 -9 . values outside this range saturate to these 11 bits. the compensation filter introduces a final gain factor of 1.0, 0.65, lsb msb lsb iout9 iout0/ datardy qout0 note: assumes data is being output lsb ?st. figure 15. serial timing (simultaneous i/q mode) datardy leads 1st bit lsb msb 0 iout9 iout0 datardy 1 i data word msb q data i output identified by 1 in lsb of data word word note: assumes data is being output msb ?st. datardy may be programmed active high or low. figure 16. serial timing (i followed by q mode) datardy leads 1st bit figure 17. gain distribution and intermediate bit weightings synthesizer/ g = 0.9990 -2 0 2 -9 2 -1 2 0 2 -10 2 -1 -2 1 rnd cic g = 2 -36 mantissa 1.0 - 1.9375 (0.0625 steps) exponent 2 0 -2 7 scaler mixer cic barrel shifter 2 0 -2 63 g = 1.0 - 1.9375*2 70 cic filter g = 2 0 - 2 36 compensation filter gain 2 -46 -2 -35 2 0 2 -46 2 -1 -2 8 2 0 2 -9 2 -1 -2 8 2 0 2 -9 2 -1 -2 1 rnd 2 0 2 -9 2 -1 -2 3 rnd -2 0 2 -9 2 -1 g = 1.0, 0.65, 0.77 binary point rnd agc gain input output bit range of data path limit limit (bypass, x/sin(x), (x/sin(x)) 3 (r n ) g db = 0db g db = -216.74db g db = g agc + g shifter g db = 20log[f s /f d ] n = 20log[r] n n = 1, 3 g db = 0db g db = 0db 0db bypass -3.74db -2.27db g db = g = -6.02db HSP50110
3-13 or 0.77 depending on whether the bypass, x/sin(x) or (x/sin(x)) 3 configuration is chosen. the compensation filter output is then rounded and limited to a 10-bit output range corresponding to bit positions 2 0 to 2 -9 . setting dqt gains the agc and cic shifter gains are programmed to maintain the output signal at a desired level. the gain range required depends on the signal levels expected at the input and the a/d backoff required to prevent signal + noise from saturating the a/d. the signal level at the input is based on the input snr which itself is derived from the either output snr or output e s /n 0 . below are two examples which describe setting the gains using either an output snr or e s /n 0 specification. in applications based on the transmission of digital data, it is useful to specify the dqts output in terms of e s /n 0 . the following example uses this parameter and the others given in table 4 to show how the dqts gain settings can be derived. first, the maximum and minimum input signal levels must be determined. the maximum input signal level is achieved in a noise free environment where the input signal is attenuated by 12db as a result of the a/d backoff. the minimum input signal is determined by converting the minimum output e s /n 0 specification into an input snr. using the example parameters in table 4 the minimum input snr is given by: snr in = 10log 10 (e s /n 0 ) + 10log 10 (symbol rate) -10log 10 (nbw) = -3db + 10log 10 (0.5x32 x 10 3 ) - 10log 10 (10 x 10 6 ) = -30.96db (eq. 12) note: 10log 10 (x) is used because these items are power related. thus, the minimum input signal will then be -42.96db below full scale (-30.96db -12db for a/d backoff). note: in this example the symbol rate is assumed to be one half of the output sample rate (i.e., there are 2 samples per symbol). the output signal is related to the input signal by: s out = s in x g mixer x g scaler x g agc x (eq. 13) g shifter x g cic x g comp (eq. 14) using this equation, limits for g agc and g shifter can be determined from the minimum and maximum input signal conditions as given below (all gains speci?d in db): min input level (maximum gain required): -6.02db -42.96 - 6.02 - 216.74 + g agc + g shifter + 20 x log((40 x 10 6 /32 x 10 3 ) 3 ) - 2.27 (eq. 15) max input level (minimum input gain required) -6.02db -12 - 6.02 - 216.74 + g agc + g shifter + 20 x log((40 x 10 6 /32 x 10 3 ) 3 ) - 2.27 (eq. 16) note: 20log 10 (x) is used because these items are amplitude related. solving the above inequalities for g agc and g shifter , the gain range can be expressed as, 45.20db < (g agc + g shifter ) < 76.16db. (eq. 17) the shifter gain provides a programmable gain which is a factor of 2. since g agc 1.0, g shifter is set as close to the minimum gain requirement as possible: g shifter = 2 n , (eq. 18) where n = floor(log 2 (10 (g min /20) )) = floor(log 2 (10 (45.20/20) )) = 7 the limits on the agc gain can then be determined by substituting the shifter gain into equation 18 above. the resulting limits are given by: 3.05db < g agc <34.02db. (eq. 19) in some applications it is more desirable to specify the dqt output in terms of snr. this example, covers derivation of the gain settings based on an output snr of 15db. the other system parameters are given in table 4. as in the previous examples the minimum and maximum input signal levels must be determined. the minimum input signal strength is determined by from the minimum output snr as given by: snr in = snr out - 10log(nbw) + 10log(b n x f sout ) = 15 - 10log(10 x 10 6 ) + 10log(34.18 x 10 3 ) = -9.66db (eq. 20) table 4. example system parameters parameter main menu item setting input sample rate (2) 40 msps output sample rate (f sout ) (notes 1, 2) (8), (9) 32 ksps input filter noise bandwidth (nbw) (10) 10mhz minimum output e s /n 0 (15) -3db signal + noise backoff at a/d input (18), (19) 12db output signal magnitude (0 to 1) (21) 0.5 number of cic stages (11) 3 compensation filter (11) (x/sin(x)) 3 noise eq. bandwidth of comp. filter (b n *f sout ) n/a 34.18khz input type (real/complex) (4) real notes: 1. two samples per symbol assumed. 2. decimation = 40 msps/32 ksps = 1250. HSP50110
3-14 thus, the minimum input signal will be -21.66db below full scale (-9.66 -12 for a/d backoff). as before the maximum input signal in the absence of noise is -12db down due to a/d backoff. from equation 14, the gain relationships for maximum and minimum input can be written as follows: min input level -6.02db -21.66 -6.02 - 216.74 + g agc + g shifter + 20*log((40 x 10 6 /32 x 10 3 ) 3 )-2.27 (eq. 21) max input level -6.02db -12 - 6.02 - 216.74 + g agc + g shifter + 20 x log((40 x 10 6 /32 x 10 3 ) 3 ) -2.27 (eq. 22) using the upper and lower limits found above, the gain range can be expressed as, 45.20db < g agc + g shifter < 54.86db. (eq. 23) using equation 2 in the previous example, the shifter gain is determined to be 2 7 , resulting in an agc gain range of 3.05db < g agc <12.72db. (eq. 24) basic architectural con?urations detailed architectural diagrams are presented in figures 18 through 20 for the basic configurations, integrate/dump filtering with optional compensation, 3rd order cic filtering with optional compensation, and decimating filter bypass. only one of the data paths is shown since the processing on either the inphase or quadrature legs is identical. these diagrams are useful for determining the throughput pipeline delay or the loop delay of the agc as all the internal registers are shown. all registers with the exception of those denoted by daggers ( ? ) are enabled every clk rate to minimize pipeline latency. the registers marked by daggers are enabled at the output sample rate as required by the filtering operation performed. the loop filter accumulator in the agc is enabled once per output sample, and represents a delay of one output sample. the accumulators in the cic filter each represent a delay of one clk, but they are enabled for processing once per input sample. in interpolated input mode the accumulators are enabled every clk since the sample rate is determined by the clk rate (see input controller section). in gated input mode, the processing delay of the accumulators is one clk but they are only enabled once for each sample gated into the processing pipeline. as a result, the latency through the accumulators is 3 clks rather than 3 input sample periods when configured as a 3rd order cic filter. HSP50110
3-15 figure 18. data flow for integrate/dump configuration figure 19. data flow for 3rd order cic configuration figure 20. data flow with cic stage bypassed sin/cos vector from carrier nco r e g r e g level detect loop gain serialize -1 r e g mantissa (1.0 - 1.9375) exponent (2 0 - 2 7 ) from programmable divider ? ? 1 2 -36 cic scaler 2 0 -2 -63 cic shifter iin0-9/ qin0-9 iout0-9/ qout0-9 accumulator w/ programmable limits x complex multiplier level detect hi/lo r e g r e g r e g r e g a c c + r e g + r e g l m t m u x reg reg l m t m u x r e g r e g r e g r e g r e g legend: acc = accumulator lmt = limit r = down sampler mux = multiplexer reg = register ? indicates elements running at the output sample rate ? r 11 tap fir filter 1st order cic (i & d filter) compensation filter 31 sin/cos vector from carrier nco r e g r e g 15 tap fir filter level detect loop gain serialize -1 3 r r e g mantissa (1.0 - 1.9375) exponent (2 0 - 2 7 ) from bit rate nco ? ? ? -3 ? 1 2 -36 cic scaler 2 0 -2 -63 cic shifter iin0-9/ qin0-9 iout0-9/ qout0-9 accumulator w/ programmable limits x complex multiplier level detect hi/lo r e g r e g r e g r e g a c c a c c a c c + r e g + r e g + r e g + r e g l m t m u x reg reg l m t m u x r e g r e g r e g r e g r e g legend: acc = accumulator lmt = limit r = down sampler mux = multiplexer reg = register ? indicates elements running at the output sample rate ? 3rd order cic filter compensation filter 55 (top bits aligned) sin/cos vector from carrier nco r e g r e g level detect loop gain serialize r e g mantissa (1.0 - 1.9375) exponent (2 0 - 2 7 ) 2 -36 cic scaler 2 0 -2 -63 cic shifter iin0-9/ qin0-9 iout0-9/ qout0-9 accumulator w/ programmable limits x complex multiplier level detect hi/lo r e g r e g r e g r e g + r e g l m t m u x reg reg l m t m u x r e g r e g r e g r e g r e g legend: acc = accumulator lmt = limit r = down sampler mux = multiplexer reg = register 11-15 tap fir filter compensation filter 21 HSP50110
3-16 serial input interfaces frequency control data for the ncos contained in the synthesizer/mixer and the re-sampler are loaded through two separate serial interfaces. the carrier offset frequency register controlling the synthesizer nco is loaded via the cof and cofsync pins. the sample offset frequency register controlling the re-sampler nco is loaded via the sof and sofsync pins. the procedure for loading data through these two pin interfaces is identical. each serial word has a programmable word width of either 8, 16, 24, or 32 bits (see chip configuration register in table 11). on the rising edge clk, data on cof or sof is clocked into an input shift register. the beginning of a serial word is designated by asserting either cofsync or sofsync ?igh?one clk prior to the first data bit as shown in figure 21. the assertion of the sofsync starts a count down from the programmed word width. on following clks, data is shifted into the register until the specified number of bits have been input. at this point data shifting is disabled and the contents of the register are transferred from the shift register to the respective 32-bit holding register. the shift register is enabled to accept new data on the following clk. if the serial input word is defined to be less than 32 bits, it will be transferred to the msbs of the 32-bit holding register and the lsbs of the holding register will be zeroed. see figure 22 for details. note: serial data must be loaded msb first, and cofsync or sofsync should not be asserted for more than one clk cycle. test mode the test mode is used to program each of the output pins to ?igh?or ?ow?state via the microprocessor interface. if this mode is enabled, the output pins are individually set or cleared through the control bits of the test register in table 13. when serial output mode is selected, the test register may be used to set the state of the unused output bits. microprocessor interface the microprocessor interface is used for writing data to the dqts control registers and reading the contents of the agc loop accumulator (see agc section). the microprocessor interface consists of a set of four 8-bit holding registers and one 8-bit address register. these registers are accessed via a 3-bit address bus (a0-2) and an 8-bit data bus (c0-7). the address map for these registers is given in table 5. the registers are loaded by setting up the address (a0-2) and data (c0-7) to the rising edge of wr. the HSP50110 is configured by loading a series of nine 32-bit control registers via the microprocessor interface. a control register is loaded by ?st writing the four 8-bit holding registers and then writing the destination address to the address register as shown in figure 23. the control register address map and bit de?itions are given in tables 6-15. data is transferred from the holding registers to a control register on the fourth clock following a write to the address register. as a result, the holding registers should not be updated any sooner than 4 clks after an address register write (see figure 23). note: the unused bits in a control register need not be loaded into the holding register. cof/ msb msb clk cofsync/ sofsync sof lsb ote: data must be loaded msb ?st. igure 21. serial input timing for cof and sof inputs serial word width can be: 8, 16, 24, 32 bits wide. ? t d is determined by the cofsync, cofsync rate. note that t d can be 0, and the fastest rate is with 8-bit word width. figure 22. serial data load to holding registers sequence 32 ? 54 50 46 42 38 34 30 26 22 18 14 10 6 2 30 28 26 24 ? 22 20 18 16 ? 14 12 10 8 ? 6 4 2 0 shift counter value data transferred to holding register t d ?? t d ?? t d ?? t d ?? clk times assertion of cofsync, sofsync (8) (32) (16) (24) table 5. address map for microprocessor interface a2-0 register description 0 holding register 0. transfers to bits 7-0 of the 32-bit desti- nation register. bit 0 is the lsb of the 32-bit register. 1 holding register 1. transfers to bits 15-8 of a 32-bit destina- tion register. 2 holding register 2. transfers to bits 23-16 of a 32-bit desti- nation register. 3 holding register 3. transfers to bits 31-24 of a 32-bit destination register. bit 31 is the msb of the 32-bit register. 4 this is the destination address register. on the fourth clk following a write to this register, the contents of the holding registers are transferred to the destination register. the lower 4 bits written to this register are decoded into the des- tination register address. the destination address map is given in tables 6-15. HSP50110
3-17 for added flexibility, the cfld input provides an alternative mechanism for transferring data from the microprocessor interfacess holding registers to the center frequency register. when cfld is sampled ?igh?by the rising edge of clock, the contents of the holding registers are transferred to the center frequency register as shown in figure 23. using this loading mechanism, an update of the center frequency register can be synchronized with an external event. caution should be taken when using the cfld since the holding register contents will be transferred to the center frequency register whenever cfld is asserted. note: cfld should not be asserted any sooner than 2 clks following the last holding register load. as shown in figure 24, the next configuration register can be loaded one clk after cfld has been loaded on the rising edge of clk. the microprocessor interface can be used to read the upper 8 bits of the agc loop filter accumulator. the procedure for reading the loop accumulator consists of ?st sampling the loop accumulator by writing 9 to the destination address register and then reading the loop accumulator value on c0-7 by asserting rd. the sampled value is enabled for output on c0-7 by forcing rd ?ow?no sooner than 6 clks after the writing the destination register as shown in figure 25. the 8-bit output corresponds to the 3 exponent bits and 5 fractional bits to the right of the binary point (see figure 3). the 3 exponent bits map to c7-5 with c7 being the most signi?ant. the fractional bits map to c4-0 in decreasing signi?ance from c4 to c0 . note: these processor signals are representative. the actual shape of the waveforms will be set by the microprocessor used. verify that the mi- croprocessor waveforms meet the parameters in the waveforms section of this data sheet to ensure proper operation. while the mi croprocessor waveforms are not required to be synchronous to clk, they are shown as synchronous waveforms for clarity in the illustration. figure 23. control register loading sequence load configuration load address of target control register and load next configuration register data wait 4 clks wr clk a0-2 c0-7 1234 earliest time another load 4 3 2 1 0 01 don? care rd processor signals can begin note: these processor signals are meant to be representative. the actual shape of the waveforms will be set by the microprocessor used. verify that the processor waveforms meet the parameters in the waveforms section of this data sheet to ensure proper operation. the processor waveforms are not required to be synchronous to clk. they are shown that way to clarify the illustration. figure 24. center frequency control register loading sequence using cf load wr 0123 load configuration 1 clk a0-2 c0-7 load next configuration register 0 1 2 data 2 3 next clk following cfld cfld wr 4 load address of target control register clk a0-2 c0-7 assert rd to enable data output on c0-7 1 23 4 56 9 and wait 6 clk? three-state input bus note: these processor signals are meant to be representative. the actual shape of the waveforms will be set by the microprocessor used. verify that the processor waveforms meet the parameters in the waveforms section of this data sheet to ensure proper operation. the processor waveforms are not required to be synchronous to clk. they are shown that way to clarify the illustration. figure 25. agc read sequence rd don? care HSP50110
3-18 table 6. center frequency register destination address = 0 bit positions function description 31-0 center frequency this register controls the center frequency of the synthesizer/mixer nco. this 32-bit twos complement value sets the center frequency as described in the synthesizer/mixer section. center format: [xxxxxxxx]h range: (0000000 - fffffff)h. table 7. input threshold register destination address = 2 bit position function description 7-0 input level detector threshold this register sets the magnitude threshold for the input level detector (see input level detector section). this 8-bit value is a fractional unsigned number whose format is given by: 2 0 . 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 . the possible threshold values range from 0 to 1.9961 (00 - ff) h . the magnitude range for complex inputs is 0.0 - 1.4142 while that for real inputs is 0.0 - 1.0. threshold values of greater than 1.4142 will never be exceeded. 31-8 reserved. table 8. agc control register destination address = 3 bit position function description 7-0 agc level detector threshold magnitude threshold for the agc level detector (see agc section). the magnitude threshold is repre- sented as an 8-bit fractional unsigned value with the following format: 2 0 . 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7 . the possible threshold values range from 0 to 1.9961. however, the usable range of threshold values span from 0 to 1.4142, since full scale outputs on both i and q correspond to a magnitude of . threshold values of greater than 1.4142 will force the agc gain to the upper limit. 15-8 loop filter upper limit (maximum gain) upper limit for loop filters accumulator (see agc section). the three most signi?ant bits are the expo- nent and the ?e least signi?ant bits represent the mantissa (see figure 3). the three exponent bits map to bit positions 15-13 (15 is the msb) and the ?e mantissa bits map to bit positions 12-8 (12 is the msb). (eee.mmmmm) 2. 23-16 loop filter lower limit (minimum gain) lower limit for loop filters accumulator (see agc section). the format is the same as that for the upper limit described above. the 3 exponent bits map to bit positions 23-21 (23 is the msb) and the mantissa bits map to bit positions 20-16 (20 is the msb). (eee.mmmmm) 2. 31-24 programmable loop gain programmable part of loop gain word (see agc section). the loop gain value increments or decre- ments the loop filters accumulator at bit positions 2 -6 through 2 -13 as shown in figure 3. the 8-bit loop gain is loaded into bit positions 31-24 (31 is the msb and maps to the 2 -6 position in the accumulator). (gggggggg) 2. table 9. i/o formatting/control destination address = 4 bit position function description 0 input format 0 = twos complement input format, 1 = offset binary input format. note: if a real input with offset binary weighting is used, the unused quadrature input pins should be tied to 1000000000. 1 input mode 0 = input controller operates in interpolated input mode. 1 = input controller operates in gated input mode. (see input controller section). center frequency cf h f c f s ------- 2 32 h cof h ? = = i 2 q 2 + 2 1.4142 == HSP50110
3-19 2 serial/parallel output select 1 = serial output, 0 = parallel output. (see output formatter section). 3 test enable 0 = test mode disabled, 1 = test mode enabled. (see test mode section). 5-4 serial output clock select bits 5-4 serial output clock rate 0 0 clk (serial output clock pin = high) 0 1 clk/2 1 0 clk/4 1 1 clk/8 (see output formatter section). 6 serial output mode 1 = i followed by q mode, 0 = simultaneous i and q mode. (see output formatter section) 7 serial output word orientation 1 = msb first, 0 = lsb first. 8 output data format 1 = offset binary, 0 = twos complement. 9 datardy polarity 1 = active low, 0 = active high. this applies to both serial and parallel output modes. (see output formatter section). 10 output clock polarity 1 = high to low clock transition at midsample. 0 = low to high clock transition at midsample. 31-11 reserved. table 10. decimating filter configuration register destination address = 5 bit position function description 5-0 cic shifter gain these 6 bits set the fixed gain of the cic shifter. the gain factor is of the form, 2 n , where n is the valued stored in this location. a gain range from 2 0 to 2 63 is provided. since the cic shifter sets the signal level at the input to the cic filter, care must be taken so that the signal is not shifted outside of the input bit range of the filter. (see gain distribution section). 17-6 programmable divider these 12 bits specify the divisor for the programmable divider in the re-sampler. the actual divisor is equal to the 12-bit value +1 for a total range of 1 to 4096. for example, a value of 7 would produce a sampling rate of 1/8 the clk or 1/8 the carry-out frequency of the re-sampler nco depending on con- figuration. (see re-sampler). 18 programmable divider clock source 1 = divider clocked at sample rate of data input to the low pass filter. 0 = divider clocked by re-sampler nco. (see re-sampler). 20-19 cic filter configuration 0 0 3 stage cic filter. 0 1 1 stage cic (integrate and dump) filter. 1 x bypass cic. when a 3 stage cic filter is chosen, a decimation factor >3 must be used if the re-sampler nco is used to set the output sampling rate. (see re-sampler section and low pass filtering section). 22-21 compensation filtering 0 0 x/sinx filtering. 0 1 (x/sinx) 3 filtering. 1 x bypass compensation filter. (see low pass filtering section). 31-23 reserved. table 9. i/o formatting/control (continued) destination address = 4 bit position function description source programmable divider range clk 1-4096 resampler 2-4096 HSP50110
3-20 table 11. chip configuration register destination address = 6 bit position function description 0 hi/lo output sense 1 = hi/lo output of 1 means input > threshold. 0 = hi/lo output of 1 means input threshold. (see input level detector section). 1 agc disable 1 = agc disabled, gain forced to 1.0 (0db), 0 = normal operation. (see agc section). 2 agc level detector sense 1 = error signal is 1 when output > threshold, -1 otherwise. 0 = error signal is -1 when output > threshold, 1 otherwise. set to 0 for normal operation. (see agc section). 4-3 carrier offset frequency word width 0 0 = 8 bits 0 1 = 16 bits 1 0 = 24 bits 1 1 = 32 bits (see synthesizer/mixer section). 6-5 sample rate offset frequency word width 0 0 = 8 bits 0 1 = 16 bits 1 0 = 24 bits 1 1 = 32 bits (see re-sampler section). 7 carrier offset frequency enable 1 = enable offset frequency, 0 = zero offset frequency. (see synthesizer/mixer section). 8 sample rate offset frequency enable 1 = enable offset frequency, 0 = zero offset frequency. (see re-sampler section). 9 load synthesizer nco 1 = accumulation enabled. 0 = feedback in accumulator is zeroed. (see synthesizer/mixer section) set to 1 for normal operation. 10 load re-sampler nco 1 = accumulation enabled. 0 = feedback in accumulator is zeroed. (see re-sampler section) set to 1 for normal operation. 12-11 sample phase output select selects 5 of the 8 msbs of the re-sampler nco? phase accumulator for output on sph0-4. (see re- sampler section). 0 0 bits 28:24. 0 1 bits 29:25. 1 0 bits 30:26. 1 1 bits 31:27. 13 sample phase output control selects whether the sample phase output pins and sstrb update continuously or only when the da- tardy is active. (see re-sampler section). 1 = continuous update. 0 = updated by datardy. 14 clear accumulators writing a 1 to the clear accumulator bit forces the contents of all accumulators to 0. accumulators will remain at 0 until a 0 is written to this bit. the following accumulators are affected by this bit. carrier nco accumulator cascode cic filter accumulator agc loop filter accumulator serial output shifter counter serial output clock logic resampler nco carry output programmable divider 31-15 reserved. HSP50110
3-21 references [1] hogenauer, eugene, ?n economical class of digital filters for decimation and interpolation? ieee transactions on acoustics, speech and signal processing, vol. assp-29 no. 2, april 1981. [2] samueli, henry ?he design of multiplierless fir filters for compensating d/a converter frequency response distortion? ieee transaction circuits and systems, vol. 35, no. 8, august 1988. table 12. phase offset register destination address = 7 bit position function description 7-0 phase offset this 8 bit twos complement value speci?s a carrier phase offset of (n/128) where n is the twos com- plement value. this provides a range of phase offsets from - to *(127/128). (see synthesizer/mixer section). 31-8 reserved. table 13. test register destination address = 8 bit position function description 4-0 force sph4-0 when test mode enabled*, sph4-0 is forced to the values programmed in these bit locations. bit position 4 maps to sph4. (see test mode section). 5 force sstrb when test mode enabled*, sstrb is forced to state of this bit. 6 force hi/lo when test mode enabled*, hi/lo is forced to state of this bit. 16-7 force iout9-0 when test mode enabled*, iout9-0 if forced to the values programmed in these bit locations. bit position 16 maps to iout9. 17 force datardy when test mode enabled*, datardy is forced to state of this bit. 18 force lotp when test mode enabled*, lotp is forced to state of this bit. 28-19 force qout9-0 when test mode enabled*, qout9-0 is forced to the values programmed in these bit locations. bit posi- tion 16 maps to qout9. 31-29 reserved. * test mode enable is destination address = 4, bit-3. table 14. agc sample strobe register destination address = 9 bit position function description 7-0 agc read writing this address samples the accumulator in the agcs loop filter. the procedure for reading the sampled value out of the part on c0-7 is discussed in the microprocessor interface section. (see micro- processor interface section). HSP50110
3-22 absolute maximum ratings thermal information (typical) supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +7.0v input, output voltage . . . . . . . . . . . . . . . . .gnd -0.5v to v cc +0.5v esd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . class 3 operating conditions voltage range . . . . . . . . . . . . . . . . . . . . . . . . . . . . +4.75v to +5.25v temperature range commercial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0 o c to 70 o c industrial. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -40 o c to 85 o c thermal resistance (typical, note 3) ja ( o c/w) plcc package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 maximum junction temperature . . . . . . . . . . . . . . . . . . . . . . .150 o c maximum storage temperature. . . . . . . . . . . . . . . . -65 o c to 150 o c maximum lead temperature (soldering 10s) . . . . . . . . . . . . .300 o c (plcc - lead tips only) die characteristics gate count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38,000 gates caution: stresses above those listed in ?bsolute maximum ratings may cause permanent damage to the device. this is a stress only rating and operatio n of the device at these or any other conditions above those indicated in the operational sections of this speci?ation is not implied. note: 3. ja is measured with the component mounted on an evaluation pc board in free air. dc electrical speci?ations v cc = 5.0v 5%, t a = 0 o to 70 o c commercial, t a = -40 o to 85 o c industrial parameter symbol test conditions min max units power supply current i ccop v cc = max, clk = 52.6mhz notes 4, 5 - 350 ma standby power supply current i ccsb v cc = max, outputs not loaded - 500 a input leakage current i i v cc = max, input = 0v or v cc -10 10 a output leakage current i o v cc = max, input = 0v or v cc -10 10 v clock input high v ihc v cc = max, clk 3.0 - v clock input low v ilc v cc = min, clk - 0.8 v logical one input voltage v ih v cc = max 2.0 - v logical zero input voltage v il v cc = min - 0.8 v logical one output voltage v oh i oh = -400 a, v cc = min 2.6 - v logical zero output voltage v ol i ol = 2ma, v cc = min - 0.4 v input capacitance c in clk = 1mhz all measurements referenced to gnd. t a = 25 o c, note 6 -10pf output capacitance c out -10pf notes: 4. power supply current is proportional to frequency. typical rating is 7ma/mhz. 5. output load per test circuit and c l = 40pf. 6. not tested, but characterized at initial design and at major process/design changes. ac electrical speci?ations note 8, v cc = 5.0v 5%, t a = 0 o to 70 o c commercial, t a = -40 o to 85 o c industrial parameter symbol notes -52 (52.6mhz) units min max clk period t cp 19 - ns clk high t ch 7-ns clk low t cl 7-ns setup time iin9-0, qin9-0, eni, ph1-0, cfld, cof, sof, cofsync, and sofsync to clk t ds 7-ns hold time iin9-0, qin9-0, eni, ph1-0, cfld, cof, sof, cofsync, and sofsync from clk t dh 1-ns setup time a0-2, c0-7 to rising edge of wr t ws 15 - ns hold time a0-2, c0-7 from rising edge of wr t wh 0-ns HSP50110
3-23 ac test load circuit clk to iout9-0, qout9-0, datardy, lotp, sstrb, sph4-0, hi/lo t do -8ns wr high t wrh 16 - ns wr low t wrl 16 - ns rd low t rdl 16 - ns rd low to data valid t rdo -15ns rd high to output disable t rod note 8 - 8 ns output enable t oe -8ns wr to clk t wc note 9 8 - ns output disable time t od note 8 - 8 ns output rise, fall time t rf note 8 - 3 ns notes: 7. ac tests performed with c l = 40pf, i ol = 2ma, and i oh = -400 a. input reference level for clk is 2.0v, all other inputs 1.5v. test v ih = 3.0v, v ihc = 4.0v, v il = 0v. 8. controlled via design or process parameters and not directly tested. characterized upon initial design and after major process and/or changes. 9. set time to ensure action initiated by wr or serclk will be seen by a particular clock. ac electrical speci?ations note 8, v cc = 5.0v 5%, t a = 0 o to 70 o c commercial, t a = -40 o to 85 o c industrial (continued) parameter symbol notes -52 (52.6mhz) units min max equivalent circuit c l ? ioh 1.5v iol dut switch s1 open for i ccsb and i ccop s1 ? test head capacitance. HSP50110
3-24 all intersil semiconductor products are manufactured, assembled and tested under iso9000 quality systems certi?ation. intersil semiconductor products are sold by description only. intersil corporation reserves the right to make changes in circuit design and/or spec ifications at any time with- out notice. accordingly, the reader is cautioned to verify that data sheets are current before placing orders. information furnished by intersil is b elieved to be accurate and reliable. however, no responsibility is assumed by intersil or its subsidiaries for its use; nor for any infringements of patents or other rights of th ird parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of intersil or its subsidiari es. for information regarding intersil corporation and its products, see web site www.intersil.com waveforms figure 26. timing relative to wr figure 27. timing relative to clk figure 28. output rise and fall times figure 29. output enable/disable figure 30. timing relative to read wr c0-7, a0-2 t ws t wh t wrh t wrl clk iin9-0, qin9-0, t ds t dh eni, ph1-0, cfld, cof, t cl t ch t do t cp sof, cofsync, sofsync iout9-0, qout9-0, d a t ard y, lotp, sstrb, sph4-0, hi/lo t wc wr t rf t rf 0.8v 2.0v t oe t od 1.5v 1.7v 1.3v oei oeq outi9-0 outq9-0 1.5v t rdo c0-7 t rod t rdl rd HSP50110


▲Up To Search▲   

 
Price & Availability of HSP50110

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X